package com.salton123.imagepicker.custom

import com.salton123.imagepicker.bean.ImageItem

/**
 *Created by panzhiwei on 2020-03-09
 */
object CallBackRepository {

    interface IPermissionRejectCallback {
        fun permissionReject(permission: Array<String>)
    }

    interface ICropPixelLimitCallback {
        fun onLimitToast(imageItem: ImageItem)
    }

    interface ISelectSizeLimitCallback {
        fun onLimitToastLower(imageItem: ImageItem)
        fun onLimitToastUpper(imageItem: ImageItem)
    }

    interface ISelectAmountLimitCallback {
        fun onLimitToast()
    }

    interface IImagePickerCallback {
        fun callback(imageList: ArrayList<ImageItem>?)
    }

    interface IVideoSelectSizeLimitCallback {
        fun onLimitToastUpper(imageItem: ImageItem)
    }

    interface IClickPreviewListener {
        fun onClick()
    }
}